

public class ListElement {
	
	private ListElement myNext;
	private String myValue;
	
	public ListElement(String value) {
		myValue = value;
	}
	
	public ListElement getNext() {
		return myNext;
	}
	
	public void setNext(ListElement next) {
		myNext = next;
	}
	
	public String getValue() {
		return myValue;
	}
	
}